package analiseSemantica;

    public class StmtList {
        Stmt stmtRef = null;
        StmtList stmtListRef = null;
        public int line;

        public StmtList(Object ob) {
            if( ob instanceof Stmt)
            this.stmtRef = (Stmt) ob;
            
        }

   public StmtList(Object ob , Object ob2) {
          if( ob instanceof Stmt)
            this.stmtRef = (Stmt) ob;

           if( ob2 instanceof StmtList)
            this.stmtListRef = (StmtList) ob2;

        }



        public StmtList getStmtListRef() {
            return stmtListRef;
        }

        public void setStmtListRef(StmtList stmtListRef) {
            this.stmtListRef = stmtListRef;
        }

        public Stmt getStmtRef() {
            return stmtRef;
        }

        public void setStmtRef(Stmt stmtRef) {
            this.stmtRef = stmtRef;
        }




    }


